﻿namespace GoodAdmin.Core;

[ErrorCodeType]
public enum ConfigErrorCode
{
    /// <summary>
    /// 存在相同配置键
    /// </summary>
    [ErrorCodeItemMetadata("存在相同配置键")]
    C001,
    /// <summary>
    /// 禁止删除系统配置
    /// </summary>
    [ErrorCodeItemMetadata("禁止删除系统配置")]
    C002,
    /// <summary>
    /// 禁止修改系统配置分类
    /// </summary>
    [ErrorCodeItemMetadata("禁止修改系统配置分类")]
    C003,
    /// <summary>
    /// 禁止修改系统配置Key键
    /// </summary>
    [ErrorCodeItemMetadata("禁止修改系统配置Key键")]
    C004,
}